In Android Studio, navigate to File -> Settings
Choose Build, Execution, Deployment -> Debugger
Locate the section for Android Debug Bridge (adb) and deselect 'Enable adb mDNS for wireless debugging.' Click Apply.
Wait for a few moments to ensure the changes are applied.
Now, reselect 'adb mDNS for wireless debugging' and click Apply again.